//about.js
//获取应用实例
var app = getApp()
var cloud = "cloud://cloud1-2gghs59h3b578579.636c-cloud1-2gghs59h3b578579-1306567483/"
Page({
    data: {
        logosrc: '../../icons/logo.png',
        adrimg: '../../icons/address.png',
        clockimg: '../../icons/clock.png',
        phoneimg: '../../icons/phone.png',
        jtimg: '../../icons/right.png',
        picimg: '../../icons/pic.png',
        imgUrls: [
            {
                id: 0,
                url:cloud+"1.jpg",
            },
            {
                id: 1,
                url:cloud+"2.jpg",
            },{
                id: 2,
                url:cloud+"3.jpg",
            }, 
        ],
        phoneNumber:"136****0974",
        content: "一个小菜鸟，脱发程序猿",
        address: "广东省东莞市古梅路广州新华学院(东莞校区)",
        workTime: "9：00 - 12：00 , 14: 00 - 17: 30",
    },
    calling: function () {
        wx.makePhoneCall({
            phoneNumber: '136****0974',
        })
    },
    getLocation: function () {
        wx.openLocation({
            latitude: 23.063283,
            longitude: 113.578141,
            name: "14栋学生公寓",
            address: "广东省东莞市古梅路广州新华学院(东莞校区)",
            scale: 28,
        })
    },
    onLoad: function (options) {
        // 页面初始化 options为页面跳转所带来的参数
    },
    onReady: function () {
        // 页面渲染完成
    },
    onShow: function () {
        // 页面显示
    },
    onHide: function () {
        // 页面隐藏
    },
    onUnload: function () {
        // 页面关闭
    }
});